package com.codemonkey.lq.qd.extend.impl;

import java.io.File;

class FileBean {

	private File file;

	private long beforeTime;

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
		this.setBeforeTime();
	}

	public long getBeforeTime() {
		return beforeTime;
	}

	public void setBeforeTime() {
		this.beforeTime = file.lastModified();
	}

	public boolean isModify() {
		return (file.lastModified() - beforeTime) > 0.001;
	}

}
